package dataContainers;

public class Team {
	
	private String teamName;
	private Stadium stadium;
	
	public Stadium getStadium() {
		return stadium;
	}
	
	private Team(String teamName,Stadium stadium){
		this.teamName = teamName;
		this.stadium = stadium;
	}
	
	public static Team createNewTeam(String teamName,Stadium stadium){
		return new Team(teamName, stadium);
	}
	@Override
	public String toString() {
		return teamName;
	}

}
